package hutech.ksv.service;

import hutech.ksv.dao.QuanAnDao;
import hutech.ksv.entity.QuanAnEntity;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QuanAnService implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Autowired
	QuanAnDao quanAnDao;

	public void insertQuanAn(QuanAnEntity quanan) {
		quanAnDao.insertQuanAn(quanan);
	}

	public void updateQuanAn(QuanAnEntity quanan) {
		quanAnDao.updateQuanAn(quanan);
	}
	
	public List<QuanAnEntity> loadThongTinQA() {
		return quanAnDao.loadThongTinQA();
	}
	
	public List<QuanAnEntity> loadDSQATheoDC(QuanAnEntity quanan) {
		return quanAnDao.loadDSQATheoDC(quanan);
	}
}
